package com.aiwiown.snackmq.common.dto.console;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * 用于在控制台和 Broker 之间传输集群概览信息的数据传输对象。
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class ClusterOverviewDTO implements Serializable {

    private static final long serialVersionUID = -5197090349840740346L;
    private int brokerCount;
    private int topicCount;
    private long totalMessages;
    private double tps;
}